From 1760e0d3f3d9f447bfdb1c29675497d23a60fd4f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 18 Dec 2016 07:08:37 +0100 Subject: [PATCH] vulkan: Get rid of color in push constants The color comes in instance data now, no need to abuse push constants for it. --- gsk/resources/vulkan/color.frag.glsl | 5 ----- gsk/resources/vulkan/color.frag.spv | Bin 672 -> 444 bytes 2 files changed, 5 deletions(-) diff --git a/gsk/resources/vulkan/color.frag.glsl b/gsk/resources/vulkan/color.frag.glsl index cbac7ed961..68d77d72f9 100644 --- a/gsk/resources/vulkan/color.frag.glsl +++ b/gsk/resources/vulkan/color.frag.glsl @@ -2,11 +2,6 @@ layout(location = 0) in vec4 inColor; -layout(push_constant) uniform PushConstants { - mat4 mvp; - vec4 color; -} push; - layout(location = 0) out vec4 color; void main() diff --git a/gsk/resources/vulkan/color.frag.spv b/gsk/resources/vulkan/color.frag.spv index 2865771377a09b53eb2b06abe5bfee8ad8e3d5af..98c661da196d9fb6819892653850c52c56461dc9 100644 GIT binary patch delta 33 ncmZ3$x`&yUnMs+Qfq@YSIT&~+^4_0p!Kg5K17pGD1SSUnVwDF9 delta 256 zcmdnPynvOLnMs+Qfq@YSIT!>d^4|AmWng3AV_;wiC@s!#&d)0@Nz5xL2J+b$Sis^y zCPQvn0g%rM<}(8M$@w|?ML?Prs73%t7XbAFsfn)@Lp_kRu>!?BpxS^;24xTd1ju4Q z$AFE1iGhput=krt -- 2.30.2